package 适配器与外观模式.外观模式;

import 命令模式.Fan;
import 命令模式.Light;

/**
 * @author zzs
 * @ClassName HomeTheater.java
 * @Description
 * @createTime 2022年05月16日 19:47:00
 */
public class HomeTheater {
    Light light;

    Fan fan;

    public HomeTheater(Light light, Fan fan) {
        this.light = light;
        this.fan = fan;
    }

    public void open() {
        light.open();
        fan.descript();
    }
}
